package com.listsorter.test;

import java.util.Date;

public class Employee
{

   String name;
   String surname;
   long employeeId;
   float salary;
   double rate;
   Date startDate;
   Department department;

   public String getName()
   {
      return name;
   }

   public String getSurname()
   {
      return surname;
   }

   public long getEmployeeId()
   {
      return employeeId;
   }

   public float getSalary()
   {
      return salary;
   }

   public Date getStartDate()
   {
      return startDate;
   }

   public double getRate()
   {
      return rate;
   }

   public String sortOrder()
   {
      return getName().toLowerCase() + getSurname().toLowerCase();
   }

   public Department getDepartment()
   {
      return department;
   }

}
